/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/idenger">idenger</a> All rights reserved.
 */
package com.idenger.modules.project.service.fundmanagement;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.idenger.common.persistence.Page;
import com.idenger.common.service.CrudService;
import com.idenger.modules.project.entity.fundmanagement.FundManagement;
import com.idenger.modules.project.dao.fundmanagement.FundManagementDao;

/**
 * 资金管理Service
 * @author chenlin
 * @version 2018-04-11
 */
@Service
@Transactional(readOnly = true)
public class FundManagementService extends CrudService<FundManagementDao, FundManagement> {

	public FundManagement get(String id) {
		return super.get(id);
	}

	public List<FundManagement> getFundManagementByProjectId(String projectId){return dao.getFundManagementByProjectId(projectId); }
	
	public List<FundManagement> findList(FundManagement fundManagement) {
		return super.findList(fundManagement);
	}
	
	public Page<FundManagement> findPage(Page<FundManagement> page, FundManagement fundManagement) {
		return super.findPage(page, fundManagement);
	}
	
	@Transactional(readOnly = false)
	public void save(FundManagement fundManagement) {
		super.save(fundManagement);
	}
	
	@Transactional(readOnly = false)
	public void delete(FundManagement fundManagement) {
		super.delete(fundManagement);
	}
	
}